package com.yanmaohu.nikita.data.function.statement;

import com.yanmaohu.nikita.data.expression.Expression;

/**
 * @author Bright Lee
 */
public final class ReturnStatement extends Statement {

    private Expression returnValue;

    public ReturnStatement(int beginIndex, int endIndex, Expression returnValue) {
        super(beginIndex, endIndex);
        this.returnValue = returnValue;
    }

    public Expression getReturnValue() {
        return returnValue;
    }

}
